package org.dromara.platform.domain.bo;

import org.dromara.platform.domain.TMiniProgramBaseInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 小程序基础信息业务对象 t_mini_program_base_info
 *
 * @author Lion Li
 * @date 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TMiniProgramBaseInfo.class, reverseConvertGenerate = false)
public class TMiniProgramBaseInfoBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 企业id
     */
    private Long enterpriseId;

    /**
     * appid
     */
    private String appid;

    /**
     * 小程序名称
     */
    private String nickName;

    /**
     * 简称
     */
    private String shortName;

    /**
     * 头像地址
     */
    private String headImageUrl;

    /**
     * 搜索状态（1：可搜索；0：不可搜索）
     */
    private Integer searchStatus;

    /**
     * 简介
     */
    private String blurb;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;


}
